package top.songxs.gmall.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller

public class LoginController {


    @RequestMapping("/login.html")
    public String login(@RequestParam("originUrl") String originUrl, Model model){
        model.addAttribute("originUrl", originUrl);
        return "login";
    }


}
